Resource URL: /platform/<<version=4>>/sync/target/reports/<RID>/subreports/<SID>

    Overview: This resource applies the standard collection pattern to
              individual OneFS SyncIQ target subreports.

     Methods: GET

********************************************************************************

Method GET: View a single SyncIQ target subreport.

       URL: GET
            /platform/<<version=4>>/sync/target/reports/<RID>/subreports/<SID>

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "subreports": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "properties": {
              "files_new": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files created by this job."
              }, 
              "error_io_files_skipped": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files with io errors skipped by this job."
              }, 
              "policy_name": {
                "required": true, 
                "type": "string", 
                "description": "The name of the policy."
              }, 
              "target_directories_unlinked": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories unlinked on the target."
              }, 
              "network_bytes_to_source": {
                "required": true, 
                "type": "integer", 
                "description": "The total number of bytes sent to the source by this job."
              }, 
              "hash_exceptions_fixed": {
                "required": true, 
                "type": "integer", 
                "description": "The number of hash exceptions fixed by this job."
              }, 
              "failed_chunks": {
                "required": true, 
                "type": "integer", 
                "description": "Tyhe number of data chunks that failed transmission."
              }, 
              "dirs_moved": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories moved by this job."
              }, 
              "error_net_files_skipped": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files with network errors skipped by this job."
              }, 
              "fifos_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of fifos replicated by this job."
              }, 
              "source_directories_linked": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories linked on the source."
              }, 
              "start_time": {
                "required": true, 
                "type": [
                  "integer", 
                  "null"
                ], 
                "description": "The time the job started in unix epoch seconds. The field is null if the job hasn't started."
              }, 
              "target_directories_linked": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories linked on the target."
              }, 
              "dead_node": {
                "required": true, 
                "type": "boolean", 
                "description": "This field is true if the node running this job is dead."
              }, 
              "source_bytes_recovered": {
                "required": true, 
                "type": "integer", 
                "description": "The number of bytes recovered on the source."
              }, 
              "retransmitted_files": {
                "items": {
                  "type": "string"
                }, 
                "required": true, 
                "type": "array", 
                "description": "The files that have been retransmitted by this job."
              }, 
              "lins_total": {
                "required": true, 
                "type": "integer", 
                "description": "The number of LINs transferred by this job."
              }, 
              "new_files_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of new files replicated by this job."
              }, 
              "dirs_changed": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories changed by this job."
              }, 
              "total_phases": {
                "required": true, 
                "type": "integer", 
                "description": "The total number of phases for this job."
              }, 
              "files_unlinked": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files unlinked by this job."
              }, 
              "sockets_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of sockets replicated by this job."
              }, 
              "end_time": {
                "required": true, 
                "type": [
                  "integer", 
                  "null"
                ], 
                "description": "The time the job ended in unix epoch seconds. The field is null if the job hasn't ended."
              }, 
              "bytes_transferred": {
                "required": true, 
                "type": "integer", 
                "description": "The number of bytes that have been transferred by this job."
              }, 
              "regular_files_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of regular files replicated by this job."
              }, 
              "file_data_bytes": {
                "required": true, 
                "type": "integer", 
                "description": "The number of bytes transferred that belong to files."
              }, 
              "target_directories_deleted": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories deleted on the target."
              }, 
              "hash_exceptions_found": {
                "required": true, 
                "type": "integer", 
                "description": "The number of hash exceptions found by this job."
              }, 
              "duration": {
                "required": true, 
                "type": [
                  "integer", 
                  "null"
                ], 
                "description": "The amount of time in seconds between when the job was started and when it ended.  If the job has not yet ended, this is the amount of time since the job started.  This field is null if the job has not yet started."
              }, 
              "sparse_data_bytes": {
                "required": true, 
                "type": "integer", 
                "description": "The number of sparse data bytes transferred by this job."
              }, 
              "running_chunks": {
                "required": true, 
                "type": "integer", 
                "description": "The number of data chunks currently being transmitted."
              }, 
              "phases": {
                "items": {
                  "type": "object", 
                  "properties": {
                    "phase": {
                      "type": "string", 
                      "description": "The phase that the job was in."
                    }, 
                    "start_time": {
                      "type": [
                        "integer", 
                        "null"
                      ], 
                      "description": "The time the job began this phase."
                    }, 
                    "end_time": {
                      "type": [
                        "integer", 
                        "null"
                      ], 
                      "description": "The time the job ended this phase."
                    }
                  }
                }, 
                "required": true, 
                "type": "array", 
                "description": "Data for each phase of this job."
              }, 
              "errors": {
                "items": {
                  "type": "string"
                }, 
                "required": true, 
                "type": "array", 
                "description": "A list of error messages for this job."
              }, 
              "resynced_lins": {
                "required": true, 
                "type": "integer", 
                "description": "The number of LINs resynched by this job."
              }, 
              "bytes_recoverable": {
                "required": true, 
                "type": "integer", 
                "description": "The number of bytes recoverable by this job."
              }, 
              "state": {
                "required": true, 
                "description": "The state of the job.", 
                "minLength": 0, 
                "enum": [
                  "scheduled", 
                  "running", 
                  "paused", 
                  "finished", 
                  "failed", 
                  "canceled", 
                  "needs_attention", 
                  "skipped", 
                  "pending", 
                  "unknown"
                ], 
                "maxLength": 255, 
                "type": "string"
              }, 
              "block_specs_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of block specs replicated by this job."
              }, 
              "sync_type": {
                "enum": [
                  "invalid", 
                  "legacy", 
                  "initial", 
                  "incremental", 
                  "upgrade", 
                  "fofb", 
                  "domainmark"
                ], 
                "type": "string", 
                "description": "The type of sync being performed by this job.", 
                "required": true
              }, 
              "job_id": {
                "required": true, 
                "type": [
                  "integer", 
                  "null"
                ], 
                "description": "The ID of the job."
              }, 
              "source_host": {
                "required": true, 
                "type": "string", 
                "description": "Hostname or IP address of sync source cluster."
              }, 
              "corrected_lins": {
                "required": true, 
                "type": "integer", 
                "description": "The number of LINs corrected by this job."
              }, 
              "action": {
                "enum": [
                  "resync_prep", 
                  "allow_write", 
                  "allow_write_revert", 
                  "test", 
                  "run", 
                  "none"
                ], 
                "type": "string", 
                "description": "The action to be taken by this job.", 
                "required": true
              }, 
              "target_files_unlinked": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files unlinked on the target."
              }, 
              "total_data_bytes": {
                "required": true, 
                "type": "integer", 
                "description": "The total number of bytes transferred by this job."
              }, 
              "symlinks_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of symlinks replicated by this job."
              }, 
              "source_files_unlinked": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files unlinked on the source."
              }, 
              "total_chunks": {
                "required": true, 
                "type": "integer", 
                "description": "The total number of data chunks transmitted by this job."
              }, 
              "files_with_ads_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files with ads replicated by this job."
              }, 
              "target_files_deleted": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files deleted on the target."
              }, 
              "dirs_new": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories created by this job."
              }, 
              "files_selected": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files selected by this job."
              }, 
              "num_retransmitted_files": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files that have been retransmitted by this job."
              }, 
              "target_snapshots": {
                "items": {
                  "type": "string"
                }, 
                "required": true, 
                "type": "array", 
                "description": "The target snapshots created by this job."
              }, 
              "unchanged_data_bytes": {
                "required": true, 
                "type": "integer", 
                "description": "The number of bytes unchanged by this job."
              }, 
              "target_bytes_recovered": {
                "required": true, 
                "type": "integer", 
                "description": "The number of bytes recovered on the target."
              }, 
              "user_conflict_files_skipped": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files with user conflicts skipped by this job."
              }, 
              "target_files_linked": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files linked on the target."
              }, 
              "files_transferred": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files transferred by this job."
              }, 
              "source_directories_visited": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories visited on the source."
              }, 
              "target_path": {
                "required": true, 
                "type": "string", 
                "description": "Absolute filesystem path on the target cluster for the sync destination."
              }, 
              "network_bytes_to_target": {
                "required": true, 
                "type": "integer", 
                "description": "The total number of bytes sent to the target by this job."
              }, 
              "error": {
                "required": true, 
                "type": "string", 
                "description": "The primary error message for this job."
              }, 
              "directories_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories replicated."
              }, 
              "total_network_bytes": {
                "required": true, 
                "type": "integer", 
                "description": "The total number of bytes sent over the network by this job."
              }, 
              "source_directories_deleted": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories deleted on the source."
              }, 
              "target_directories_created": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories created on the target."
              }, 
              "id": {
                "required": true, 
                "type": "string", 
                "description": "A unique identifier for this object."
              }, 
              "flipped_lins": {
                "required": true, 
                "type": "integer", 
                "description": "The number of LINs flipped by this job."
              }, 
              "char_specs_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of char specs replicated by this job."
              }, 
              "updated_files_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of updated files replicated by this job."
              }, 
              "source_directories_unlinked": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories unlinked on the source."
              }, 
              "ads_streams_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of ads streams replicated by this job."
              }, 
              "total_files": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files affected by this job."
              }, 
              "source_files_linked": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files linked on the source."
              }, 
              "warnings": {
                "items": {
                  "type": "string"
                }, 
                "required": true, 
                "type": "array", 
                "description": "A list of warning messages for this job."
              }, 
              "source_directories_created": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories created on the source."
              }, 
              "hard_links_replicated": {
                "required": true, 
                "type": "integer", 
                "description": "The number of hard links replicated by this job."
              }, 
              "succeeded_chunks": {
                "required": true, 
                "type": "integer", 
                "description": "The number of data chunks that have been transmitted successfully."
              }, 
              "files_changed": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files changed by this job."
              }, 
              "retry": {
                "required": true, 
                "type": "integer", 
                "description": "The number of times the job has been retried."
              }, 
              "worm_committed_file_conflicts": {
                "required": true, 
                "type": "integer", 
                "description": "The number of WORM committed files which needed to be reverted. Since WORM committed files cannot be reverted, this is the number of files that were preserved in the compliance store."
              }, 
              "error_checksum_files_skipped": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files with checksum errors skipped by this job."
              }, 
              "dirs_deleted": {
                "required": true, 
                "type": "integer", 
                "description": "The number of directories deleted by this job."
              }, 
              "files_linked": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files linked by this job."
              }, 
              "up_to_date_files_skipped": {
                "required": true, 
                "type": "integer", 
                "description": "The number of up-to-date files skipped by this job."
              }, 
              "source_files_deleted": {
                "required": true, 
                "type": "integer", 
                "description": "The number of files deleted on the source."
              }, 
              "policy_id": {
                "required": true, 
                "type": "string", 
                "description": "The ID of the policy."
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}
